<?php

class CategoryController extends Controller
{
	
	public function init(){
		$this->layout = '//layouts/default';
		parent::init();
	}
	
	public function actionIndex(){
		$this->breadcrumbs = array(
			   'Auctions'
		);
		
		$model = new AuctionPool();
		$model->category_id = 1;
		$model = $model->searchRun();
		$this->render('index',array('model'=>$model));
	}
	
	
	public function actionInsertdata(){
		
	}
}